package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author Radish
 * @Description:
 * @date 2024-11-26
 */
@Data
public class AdminEcologyPointsDTO {


    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty(value = "daoId")
    @NotNull(message = "daoId不能为空")
    private Long daoId;

    @ApiModelProperty(value = "积分名称")
    @NotBlank(message = "积分名称不能为空")
    private String pointsName;

    @ApiModelProperty(value = "积分图片")
    @NotBlank(message = "积分图片不能为空")
    private String pointsImage;

    @ApiModelProperty(value = "权重")
    @NotNull(message = "权重不能为空")
    private Integer sort;
}
